<nav>
<?php include_partial('menu');?>   
<?php use_stylesheet('bootstrap.css') ?>
<?php use_stylesheet('bootstrap-select.css') ?>
<?php use_stylesheet('bootstrap-theme.css') ?>
    
<?php use_javascript('bootstrap-select.js') ?>
<?php use_javascript('bootstrap.js') ?>
<?php use_javascript('becas_aplicables.js') ?>
</nav>
<article id="contenedorPais">    
<table class="table table-condensed">
  <thead>      
    <tr>
        <th colspan="4"><h2 id="titulo_form">CONVOCATORIAS DISPONIBLES</h2></th>        
    </tr>
    <tr><th colspan="4"><form><input type="text" id="cantidad" value="0" class="form-control"/></form></th></tr>
    <tr>            
      <th>Logo  </th>
      <th>Nombre</th>      
      <th>Fecha inicio</th>
      <th>Universidad que ofrece</th>
    </tr>
  </thead>
  <tbody id="filas">
    <?php foreach ($convocatorias as $con):?>
      <tr>          
          <td><a href="<?php echo url_for('becas_aplicables/show?id='.$con['id']) ?>"><?php echo image_tag('/uploads/logos/'.$con['logo'], 'id=img_logo', 'alt=logo'.$con['id']) ?></td>
          <td><?php echo $con['nombre']?></td>
          <td><?php echo $con['fecha_fin']?></td>
          <td><?php echo $con['entidad'] ?></td>
      </tr>  
    <?php endforeach;?>
    
  </tbody>
  <tfoot>
  <tr><td colspan="5"><center><input class="btn btn-primary" id="siguiente" type="submit" value="Siguiente"/></center></td></tr>
  </tfoot>
  </table>
</article>
<footer>    
</footer>